package com.xes.demo;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @program: tal-scsdemo
 * @description:
 * @author: pkn
 * @create: 2020-06-22 14:43
 */


@RestController
public class SendMessageController {

    @Resource
    private TalMessageProviderImpl talMessageProvider;

    @GetMapping("/sendMessage")
    public String sendMessage(){
        return talMessageProvider.send();
    }

}
